package com.yllt4cloud.gateway;


import com.yllt4cloud.common.gateway.annotation.EnableYlltDynamicRoute;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author yaoxj
 * @date 2019/5/31
 * 网关应用
 */
@EnableYlltDynamicRoute
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
public class YlltGatewayApplication {
	public static void main(String[] args) {
		SpringApplication.run(YlltGatewayApplication.class, args);
	}
}
